package com.content.view.Component.Button
{
	import com.library.core.IDisposable;
	import com.library.core.UIObject;
	import com.library.utils.Geometry;
	
	import flash.display.Shape;

	public class HotArea extends UIObject implements IDisposable
	{
		public var id:String;
		
		public function HotArea(width:Number, height:Number, alpha:Number = 1.0)
		{
			super();
			var btnShape:Shape = Geometry.drawRect(width, height, 0xaaffcc, alpha);
			addChild(btnShape);
			mouseChildren = false;
		}
		
		public function dispose():void
		{
			removeAllChilds();
		}
		
	}
}